﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS.Infrastructure.Dto.Request.Coupon
{
    /// <summary>
    /// 计算优惠券实例
    /// </summary>
    public class CalculateCouponInstanceRequestDto
    {
        /// <summary>
        /// 优惠券实例Id
        /// </summary>
        public string? CouponInstanceId { get; set; }

        /// <summary>
        /// 订单金额
        /// </summary>
        public long OrderAmount { get; set; } = 0;

        /// <summary>
        /// 优惠金额
        /// </summary>
        public long DiscountAmount { get; set; } = 0;

        /// <summary>
        /// 支付金额
        /// </summary>
        public long PayAmount { get; set; } = 0;

        /// <summary>
        /// 优惠券使用的平台服务费（根据优惠方案计算）
        /// </summary>
        public long PlatformServiceFee { get; set; } = 0;

        /// <summary>
        /// 平台服务费率
        /// </summary>
        public decimal PlatformServiceFeeRate { get; set; } = 0;

        /// <summary>
        /// 推荐商户ID
        /// </summary>
        public string? RecommendMerchantId { get; set; }

        /// <summary>
        /// 优惠券推荐抽成金额
        /// </summary>
        public long RecommendationCommissionAmount { get; set; } = 0;
    }
}
